/*
 * File Created: 2019-11-30 20:23:57
 * Author: 余保林 (yubaolin6@outlook.com)
 * Desc: 看板相关接口
 * Last Modified: 2019-11-30 20:25:09
 * Modified By: 余保林 (yubaolin6@outlook.com>)
 */

import request from '@/utils/request'
import Qs from 'qs'

/**
 * 权益人数统计
 *
 * @export
 * @returns
 */
export function privilegeStatisticsOpened() {
  return request.get(`/platform/privilege/statistics/opened`)
}

/**
 * 订单金额统计
 *
 * @export
 * @returns
 */
export function privilegeStatisticsTotal() {
  return request.get(`/platform/privilege/statistics/total`)
}

/**
 * 新增会员统计
 *
 * @export
 * @returns
 */
export function memberAddCount() {
  return request.get('/platform/member/add/count')
}

/**
 * 提现申请金额统计
 *
 * @export
 * @returns
 */
export function withdrawRecordCount() {
  return request.get(`/platform/withdraw/record/count`)
}

/**
 * 最佳影院
 *
 * @export
 * @returns
 */
export function bestCinema() {
  return request.get(`/platform/best/site/best`)
}

/**
 * 最佳渠道商
 *
 * @export
 * @returns
 */
export function bestChannel() {
  return request.get(`/platform/best/channel/best`)
}

/**
 * 最佳经销商
 *
 * @export
 * @returns
 */
export function bestDealer() {
  return request.get(`/platform/best/dealer/best`)
}
